POV-Ray : Newsgroups : povray.general : spherical light math help ... : Re: spherical light math help ... Server Time
10 Aug 2024 11:25:31 EDT (-0400)
  Re: spherical light math help ...  
From: Chris Huff
Date: 7 Jan 2000 12:53:21
Message: <chrishuff_99-2D8216.12533107012000@news.povray.org>
In article <38762474@news.povray.org>, "Lance Birch" 
<lan### [at] usanet> wrote:

> But what you've got there isn't spherical in the first place is it?

Not completely spherical, but the line
            #if ( (M*M+N*N+O*O) <= 1 )
makes sure all of the light sources are within the sphere.

-- 
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.